package com.ruoyi.dl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代练等级对象 dl_user_game
 * 
 * @author ruoyi
 * @date 2021-01-04
 */
public class DlUserGame extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 游戏id */
    @Excel(name = "游戏id")
    private Integer gameId;

    /** 游戏代练等级 */
    @Excel(name = "游戏代练等级")
    private Integer gameGrade;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setGameId(Integer gameId) 
    {
        this.gameId = gameId;
    }

    public Integer getGameId() 
    {
        return gameId;
    }
    public void setGameGrade(Integer gameGrade) 
    {
        this.gameGrade = gameGrade;
    }

    public Integer getGameGrade() 
    {
        return gameGrade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("gameId", getGameId())
            .append("gameGrade", getGameGrade())
            .toString();
    }
}
